from django.conf.urls.defaults import *

urlpatterns = patterns('bookmarks.views',
  (r'^$', 'index'),
  (r'^rss/$', 'index_rss'),
  (r'^(?P<user>.*)/rss/$', 'rss_bookmarks'),
  (r'^(?P<user>.*)/search/rss/$', 'rss_bookmarks'),
  (r'^(?P<user>.*)/search/$', 'search_bookmarks'),

  (r'^(?P<user>.*)/add/$', 'add_bookmark'),
  (r'^(?P<user>.*)/export/$', 'export_bookmarks'),
  (r'^(?P<user>.*)/(?P<page>\d+)/$','user_index'),
  (r'^(?P<user>.*)/$', 'user_index'),
)
